package com.cm.tianwt.socks.test.udp;

import java.io.IOException;
import java.net.Authenticator;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Set;

import com.cm.tianwt.socks.test.http.MyAuthenticator;
import com.cm.tianwt.socks.test.udp.dns.DNS;

public class UDPTester {

	public static void main(String[] args) {
		

		System.getProperties().put( "socksProxyPort", "8888"); 
	    System.getProperties().put( "socksProxyHost" ,"127.0.0.1");
	    Authenticator.setDefault(new MyAuthenticator("admin", "nimda"));
	    
	    try {
			UDPBaseClient.connet();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

	
	
}
